import 'package:flutter/material.dart';
import 'package:get/get.dart';

import '../../routes/home/home_routes.dart';
class NotFoundPage extends StatefulWidget {
  const NotFoundPage({super.key});

  @override
  State<NotFoundPage>  createState() => _NotFoundPageState();
}
class _NotFoundPageState extends State<NotFoundPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('没有找到页面'),
      ),
      body: Center(
        child: Column(children: [
          const Text('not found page'),
          TextButton(onPressed: (){
            Get.toNamed(HomeRouter.home);
          }, child:const Text('返回首页'))
        ],),
        
      ),
    );
  }
}